package com.he.eduservice.service;

import com.he.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.he.eduservice.entity.VideoInfoForm;

/**
 * <p>
 * 课程视频 服务类
 * </p>
 *
 * @author testhejinyu
 * @since 2021-06-02
 */
public interface EduVideoService extends IService<EduVideo> {

    void addVideo(VideoInfoForm videoInfoForm);

    /**
     * 根据小节id查找课时
     * @param id
     * @return
     */
    EduVideo findVideoById(String id);
    /**
     * 修改小节的方法
     * @param videoInfoForm
     */
    void updateVideo(VideoInfoForm videoInfoForm);

    /**
     * 删除小节的方法
     * @param id
     */
    void deleteVideo(String id);
}
